package com.lanou.elh.sysmanage.system_statistics.entity;


import org.springframework.format.annotation.DateTimeFormat;

public class DataParamer {
    private Integer type;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String startTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String endTime;
    private Integer year;

    public DataParamer() {
    }

    @Override
    public String toString() {
        return "DataParamer{" +
                "type=" + type +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", year=" + year +
                '}';
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public DataParamer(Integer type, String startTime, String endTime, Integer year) {

        this.type = type;
        this.startTime = startTime;
        this.endTime = endTime;
        this.year = year;
    }
}
